﻿using System;
using System.Web.Mvc;

using Fuse8.DomainFramework.Common;

namespace Fuse8.ContentManagementFramework.Web.StartUp
{
    internal static class GlobalFiltersPolicy
    {
        public static void Init(GlobalFilterCollection filters)
        {
            Guard.ArgumentNotNull(filters, "filters");
            
            filters.Add(new HandleErrorAttribute());
        }
    }
}
